package com.gaofans.vertx.boot.web.auth;

import com.gaofans.vertx.boot.web.handler.HttpHandlerPosition;

/**
 * 权限的属性
 * @author GaoFans
 */
public class AuthorityDefinition {

    private String[] authorities;

    private HttpHandlerPosition position;

    public AuthorityDefinition(String[] authorities, HttpHandlerPosition position) {
        this.authorities = authorities;
        this.position = position;
    }

    public String[] getAuthorities() {
        return authorities;
    }

    public void setAuthorities(String[] authorities) {
        this.authorities = authorities;
    }

    public HttpHandlerPosition getPosition() {
        return position;
    }

    public void setPosition(HttpHandlerPosition position) {
        this.position = position;
    }
}
